package at.fhooe.stefanirndorfer.graphics;

import static org.lwjgl.opengl.GL11.*;


public class Graphics_Utils {

	static void initializeOpenGL(int w, int h){

		glMatrixMode(GL_PROJECTION);
		glLoadIdentity();
		//glOrtho(0, w, h, 0, 1, -1);
		/** center coordinates origin */
		glOrtho(-w/2, w/2, -h/2, h/2, -1, 1);
		glMatrixMode(GL_MODELVIEW);
		glEnable(GL_TEXTURE_2D);
	}
	
}
